<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="lib/vue.js"></script>
</head>
<body>
<div id="root">
    <book-list cl="tomato" title="男生爱看" :book-list="bodyBookList"></book-list>
    <book-list cl="pink" title="女生爱看" :book-list="girlBookList"></book-list>
</div>
</body>
<script type="module">
    import BookList from "./components/BookList.js";
    new Vue({
        el: '#root',
        data:{
            bodyBookList:[
                {
                    id:3458447,
                    title:"盛夏光年"
                },{
                    id:3646227,
                    title:"为爱而生"
                }
            ],
            girlBookList:[
                {
                    id: 3419269,
                    title: "主播三岁半，萌翻全宇宙！"
                }, {
                    id: 3634103,
                    title: "重生后我靠空间门玩遍世界"
                }
            ]
        },
        components:{
            BookList
        }
    })
</script>
</html>